
import {getApi,postApi} from "../conf/request";


// 授权登录
export const authLogin = params => postApi('/api/system/wechat/login/open',params)


// 授权绑定账密登录
export const authBindLogin = params => postApi('/api/system/wechat/login/binding',params)

// 账密登录
export const accountLogin = params => postApi('/api/system/wechat/login/password',params)

// 修改密码
export const modifyPsd = params => postApi('/api/system/wechat/login/password/edit',params)

// 请求用户信息
export const reqUserInfo = params => getApi('/api/fridge_business/wx/user/get_user_info',params,{'Content-Type':'application/x-www-form-urlencoded'})

